package com.love_weinuo.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2019/3/28.
 */

public class MyOrderChangeCallbackBean implements Serializable{

    /**
     * errcode : 0
     * msg : success
     * result : {"res":[{"area":1354,"landid":"48,49","money":"0.00","pesticide":"1,2","pname":"圣墟之翼","endtime":"2019-05-27 00:00:00","sumarea":1800,"pordernum":716869629,"id":67,"starttime":"2019-03-27 00:00:00","orderstate":"0"}]}
     */
    private int errcode;
    private String msg;
    private ResultEntity result;

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public int getErrcode() {
        return errcode;
    }

    public String getMsg() {
        return msg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public class ResultEntity implements Serializable{
        /**
         * res : [{"area":1354,"landid":"48,49","money":"0.00","pesticide":"1,2","pname":"圣墟之翼","endtime":"2019-05-27 00:00:00","sumarea":1800,"pordernum":716869629,"id":67,"starttime":"2019-03-27 00:00:00","orderstate":"0"}]
         */
        private List<ResEntity> res;

        public void setRes(List<ResEntity> res) {
            this.res = res;
        }

        public List<ResEntity> getRes() {
            return res;
        }

        public class ResEntity implements Serializable{
            /**
             * area : 1354
             * landid : 48,49
             * money : 0.00
             * pesticide : 1,2
             * pname : 圣墟之翼
             * endtime : 2019-05-27 00:00:00
             * sumarea : 1800
             * pordernum : 716869629
             * id : 67
             * starttime : 2019-03-27 00:00:00
             * orderstate : 0
             */
            private int area;
            private String landid;
            private String money;
            private String pesticide;
            private String pname;
            private String endtime;
            private int sumarea;
            private int pordernum;
            private int id;
            private String starttime;
            private String orderstate;

            public void setArea(int area) {
                this.area = area;
            }

            public void setLandid(String landid) {
                this.landid = landid;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public void setPesticide(String pesticide) {
                this.pesticide = pesticide;
            }

            public void setPname(String pname) {
                this.pname = pname;
            }

            public void setEndtime(String endtime) {
                this.endtime = endtime;
            }

            public void setSumarea(int sumarea) {
                this.sumarea = sumarea;
            }

            public void setPordernum(int pordernum) {
                this.pordernum = pordernum;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setStarttime(String starttime) {
                this.starttime = starttime;
            }

            public void setOrderstate(String orderstate) {
                this.orderstate = orderstate;
            }

            public int getArea() {
                return area;
            }

            public String getLandid() {
                return landid;
            }

            public String getMoney() {
                return money;
            }

            public String getPesticide() {
                return pesticide;
            }

            public String getPname() {
                return pname;
            }

            public String getEndtime() {
                return endtime;
            }

            public int getSumarea() {
                return sumarea;
            }

            public int getPordernum() {
                return pordernum;
            }

            public int getId() {
                return id;
            }

            public String getStarttime() {
                return starttime;
            }

            public String getOrderstate() {
                return orderstate;
            }
        }
    }
}
